package org.jeecg.modules.assets.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.List;

@Data
public class ItemVO {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
    /**
     * id
     */

    @ApiModelProperty(value = "ids")
    @TableField(exist = false)
    private java.lang.String ids;
    /**
     * 资产编码
     */
    @Excel(name = "资产编码", width = 15)
    @ApiModelProperty(value = "资产编码")
    private java.lang.String assetCoding;
    /**
     * 资产名称
     */
    @Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产名称")
    private java.lang.String assetName;
    /**
     * 规格型号
     */
    @Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String spec;
    /**
     * 类别
     */
    @Excel(name = "类别", width = 15)
    @ApiModelProperty(value = "资产类别")
    private java.lang.Integer category;
    /**
     * 所属公司
     */
    // @Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
    private java.lang.String company;

    @ApiModelProperty("公司名称")
    private java.lang.String companyName;
    /**
     * 所属部门
     */
    //  @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private java.lang.Integer dept;
    /**
     * 所属人
     */
    // @Excel(name = "所属人", width = 15)
    @ApiModelProperty(value = "所属人")
    private java.lang.String owner;
    /**
     * 使用人
     */
    //  @Excel(name = "使用人", width = 15)
    @ApiModelProperty(value = "使用人")
    private java.lang.String userer;
    /**
     * 使用年限
     */
    // @Excel(name = "使用年限", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "使用年限")
    private String useTime;
    /**
     * 原值
     */
    //  @Excel(name = "原值", width = 15)
    @ApiModelProperty(value = "原值")
    private java.lang.String original;
    /**
     * 净值
     */
    //  @Excel(name = "净值", width = 15)
    @ApiModelProperty(value = "净值")
    private java.lang.String netWorth;
    /**
     * status
     */
    @Excel(name = "资产状态", width = 15)
    @ApiModelProperty(value = "status")
    private java.lang.String status;

    /**
     * url
     */
    // @Excel(name = "url", width = 15)
    @ApiModelProperty(value = "url")
    private java.lang.String url;
    /**
     * 所属部门名称
     */
    @ApiModelProperty(value = "所属部门名称")
    private java.lang.String deptName;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "更新时间")
    private String updateTime;
    @ApiModelProperty(value = "简单部门名称")
    private String simpleDeptName;

    @ApiModelProperty(value = "异常描述")
    @TableField(exist = false)
    private String errorDesc;

    @ApiModelProperty(value = "修改类型，1个人信息修改，2初盘修改，3复盘修改，4抽盘修改")
    @TableField(exist = false)
    private Integer updateType;


    @ApiModelProperty(value = "盘点状态,0未盘点，1已盘点。")
    @TableField(exist = false)
    private java.lang.String inventoryStatus;
    @ApiModelProperty(value = "盘点方式，1扫码。2直盘")
    private Integer inventoryType;

    @ApiModelProperty("资产使用年")
    private String planUserYear;
    @ApiModelProperty("资产使用月")
    private String planUserMonth;

    @ApiModelProperty("归属地")
    @Excel(name = "资产地址", width = 15)
    private String assetsLocation;


    @ApiModelProperty("开始时间")
    @TableField(exist = false)
    private String startTime;


    @ApiModelProperty("结束时间")
    @TableField(exist = false)
    private String endTime;
    /**
     * 使用组别
     */
    // @Excel(name = "资产编组", width = 15)
    @ApiModelProperty(value = "资产编组")
    @TableField("`group`")
    private String group;

    @ApiModelProperty(value = "资产编组")
    @Excel(name = "资产编组", width = 15)
    private String groupName;
    @ApiModelProperty(value = "设备领用状态。1在库，0不在库")
    private Integer applyStatus;

    //当前领用单id
    @ApiModelProperty(value = "当前领用单id")
    private Integer applyId;
    //当前归还单id
    @ApiModelProperty(value = "当前归还单id")
    private Integer returnId;

    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "资产数量")
    @Excel(name = "资产数量", width = 15)
    private Integer num;

    /**
     * 货架号
     */
    @Excel(name = "货架号", width = 15)
    @ApiModelProperty(value = "货架号")
    private java.lang.String rack;
    /**
     * 箱号
     */
    @Excel(name = "箱号", width = 15)
    @ApiModelProperty(value = "箱号")
    private java.lang.String box;

    @ApiModelProperty(value = "查询类型,1分类，2编组")
    @TableField(exist = false)
    private String queryType;


    @ApiModelProperty("领用归还明细")
    @TableField(exist = false)
    List<ApplyAndReturnItem> applyAndReturnItems;


    /**
     * 仓库数量
     */
    @Excel(name = "仓库数量", width = 15)
    @ApiModelProperty(value = "仓库数量")
    private Integer storeNum;
    /**
     * 仓库可用数量
     */
    @Excel(name = "仓库可用数量", width = 15)
    @ApiModelProperty(value = "仓库可用数量")
    private java.lang.Integer storeUseNum;
    @Excel(name = "资产类别名称", width = 15)
    @ApiModelProperty("资产类别名称")
    private  String categoryName;
}
